package cn.usian.feign;

import cn.usian.pojo.Project;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("project-service")
public interface ProjectFeign {
    @RequestMapping("api/project/findProjectByName")
    public Project findProjectByName(@RequestParam("id") Integer id);
}
